//
//  Define.h
//  TinyFortune
//
//  Created by lc on 16/5/15.
//  Copyright © 2016年 lc. All rights reserved.
//

#ifndef Define_h
#define Define_h

//整个屏幕的宽度
#define LC_WIDTH [UIScreen mainScreen].bounds.size.width
//整个屏幕的长度
#define LC_HEIGHT [UIScreen mainScreen].bounds.size.height
//一次性加载数据的个数
#define page 4


/**屏幕宽度*/
#define WIDTH [UIScreen mainScreen].bounds.size.width
/**屏幕高度*/
#define HEIGHT [UIScreen mainScreen].bounds.size.height
/**附近界面的分段选择*/
#define NEARBY_TAG 101


//===========================定位相关=======================
#define  CCLastLongitude @"CCLastLongitude"
#define  CCLastLatitude  @"CCLastLatitude"
#define  CCLastCity      @"CCLastCity"
#define  CCLastAddress   @"CCLastAddress"

//==========================第三个界面=====================
/**附近*/
#define LC_Nearby @"http://api.breadtrip.com/place/pois/nearby/?category=%@&start=%d&count=20&latitude=%f&longitude=%f"//参数：类别，起始页，latitude，longitude（固定请求20条？）
//(类别参数)
//景点11
#define LC_Spot @"http://api.breadtrip.com/place/pois/nearby/?category=11&start=%d&count=%d&latitude=%lf&longitude=%lf"
//住宿10
#define LC_Live @"http://api.breadtrip.com/place/pois/nearby/?category=10&start=%d&count=%d&latitude=%lf&longitude=%lf"
//餐厅5
#define LC_Restaurant @"http://api.breadtrip.com/place/pois/nearby/?category=5&start=%d&count=%d&latitude=%lf&longitude=%lf"
//休闲娱乐21
#define LC_Entertainment @"http://api.breadtrip.com/place/pois/nearby/?category=21&start=%d&count=%d&latitude=%lf&longitude=%lf"
//购物6
#define LC_Shopping @"http://api.breadtrip.com/place/pois/nearby/?category=6&start=%d&count=%d&latitude=%lf&longitude=%lf"


/**详情*/
#define LC_NearbyDetail @"http://api.breadtrip.com/destination/place/5/%ld/"//参数：id 2388341753

#endif /* Define_h */
